package day03;

public class HomeWork {
    public static void main(String[] args) {
        System.out.println(8%4);
        System.out.println(4/2.5);
        System.out.println(4+5);
        int a=2,b=3;
        a++;
        b++;
        System.out.println(a);//3
        System.out.println(b);//4
        int c=++a;
        int d=++b;
        System.out.println(c);//4
        System.out.println(d);//5
        //运算符的练习
        int i=15,p=20;
        i*=0.5;
        p-=3;
        System.out.println("i="+i);
        System.out.println("p="+p);
        int price=150;
        System.out.println("price="+price);
        double score=20.1;
        if (score<20){
            System.out.println("score="+score);
        }
    }
}
